﻿@model  IEnumerable<Urna_Virtual__Galicia.Models.Candidato>

@{
        ViewBag.Title = "Votaciones 2013";
}
<html>
<head>
    <title>nenenene</title>

    



</head>
<body>
    <hgroup class="title">
        <h1>@ViewBag.Title.</h1>
        <h2>@ViewBag.Message</h2>
    </hgroup>
    

    <form action="" method="post">
        Ingrese su DNI:
      
         <input type="number" name="dni" size="8" ><br>
        Seleccione a su candidato favorito:
        <br><br>
        @foreach (var item in Model)
        { 
        <span>@Html.DisplayFor(modelItem => item.nombre)  @Html.DisplayFor(modelItem => item.apellido)</span>
        
        <span>
            <input type="radio" name="miCandidato">
        </span>

        <div>
            <img src="@Html.DisplayFor(modelItem => item.url)" height=" 200" width="200" />
        </div>

        <br>


        }
        <input type="submit" value="Enviar">
    </form>



    <!--    <aside>
        <h3>Aside Title</h3>
        <p>
            Use this area to provide additional information.
        </p>
        <ul>
            <li>@Html.ActionLink("Casita", "Index", "Home")</li>
            <li>@Html.ActionLink("Contacto", "Contact", "Home")</li>
        </ul>
    </aside>

        -->


</body>

</html>